package com.atm.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lsy
 * @since 2017-12-26
 */
@TableName("zy_brews_picture")
public class ZyBrewsPicture extends Model<ZyBrewsPicture> {

    private static final long serialVersionUID = 1L;

	private Integer brewsId;
	private Integer pictureId;
	private Integer sequence;


	public Integer getBrewsId() {
		return brewsId;
	}

	public void setBrewsId(Integer brewsId) {
		this.brewsId = brewsId;
	}

	public Integer getPictureId() {
		return pictureId;
	}

	public void setPictureId(Integer pictureId) {
		this.pictureId = pictureId;
	}

	public Integer getSequence() {
		return sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	@Override
	protected Serializable pkVal() {
		return this.brewsId;
	}

	@Override
	public String toString() {
		return "ZyTeaPicture{" +
			"brewsId=" + brewsId +
			", pictureId=" + pictureId +
				", sequence=" + sequence +
			"}";
	}
}
